home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / game / shoot / ADoom_src_1_2.lha / ADoom_src / st_stuff.h < prev    next >
C/C++ Source or Header  |  1998-02-14  |  2KB  |  88 lines

  1. // Emacs style mode select   -*- C++ -*- 
  2. //-----------------------------------------------------------------------------
  3. //
  4. // $Id:$
  5. //
  6. // Copyright (C) 1993-1996 by id Software, Inc.
  7. //
  8. // This source is available for distribution and/or modification
  9. // only under the terms of the DOOM Source Code License as
  10. // published by id Software. All rights reserved.
  11. //
  12. // The source is distributed in the hope that it will be useful,
  13. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
  15. // for more details.
  16. //
  17. // DESCRIPTION:
  18. //    Status bar code.
  19. //    Does the face/direction indicator animatin.
  20. //    Does palette indicators as well (red pain/berserk, bright pickup)
  21. //
  22. //-----------------------------------------------------------------------------
  23.  
  24. #ifndef __STSTUFF_H__
  25. #define __STSTUFF_H__
  26.  
  27. #include "doomtype.h"
  28. #include "d_event.h"
  29.  
  30. // Size of statusbar.
  31. // Now sensitive for scaling.
  32. #define ST_HEIGHT    32*SCREEN_MUL
  33. //#define ST_WIDTH    SCREENWIDTH
  34. #define ST_WIDTH    320
  35. #define ST_Y        (SCREENHEIGHT - ST_HEIGHT)
  36.  
  37.  
  38. //
  39. // STATUS BAR
  40. //
  41.  
  42. // Called by main loop.
  43. boolean ST_Responder (event_t* ev);
  44.  
  45. // Called by main loop.
  46. void ST_Ticker (void);
  47.  
  48. // Called by main loop.
  49. void ST_Drawer (boolean fullscreen, boolean refresh);
  50.  
  51. // Called when the console player is spawned on each level.
  52. void ST_Start (void);
  53.  
  54. // Called by startup code.
  55. void ST_Init (void);
  56.  
  57.  
  58.  
  59. // States for status bar code.
  60. typedef enum
  61. {
  62.     AutomapState,
  63.     FirstPersonState
  64.     
  65. } st_stateenum_t;
  66.  
  67.  
  68. // States for the chat code.
  69. typedef enum
  70. {
  71.     StartChatState,
  72.     WaitDestState,
  73.     GetChatState
  74.     
  75. } st_chatstateenum_t;
  76.  
  77.  
  78. boolean ST_Responder(event_t* ev);
  79.  
  80.  
  81.  
  82. #endif
  83. //-----------------------------------------------------------------------------
  84. //
  85. // $Log:$
  86. //
  87. //-----------------------------------------------------------------------------
  88.